package ai.peanut.one.api.tread.testLock;

import ai.peanut.one.api.tread.test2.ProduAndConsume;
import ai.peanut.one.api.tread.test2.ThreadTestIsAll;

public class Test {
    public static void main(String[] args) throws  Exception{
        ProduAndConsumeLock ProduAndConsume = new ProduAndConsumeLock() ;


        ThreadProLock th = new ThreadProLock(ProduAndConsume);
        th.start();

        ThreadCusLock thget = new ThreadCusLock(ProduAndConsume);
        thget.start();
//
//        ThreadCusLock a34 = new ThreadCusLock(ProduAndConsume);
//        a34.start();






    }
}
